﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Innova.Entites;

namespace Innova.BusinessLogic
{
    public interface INewsBL
    {
        List<NEWS> GetAllFromNews();
        List<NEWS> GetFromNewsByDescripcion(string descripcion);
        List<NEWS> GetFromNewsByPatrocinadorId(Int32 PatrocinadorId);
        NEWS GetFromNewsById(Int32 id);
        void AddNews(NEWS news);
        void UpdateNews(NEWS news);
        void RemoveNews(Int32 id);

        byte[] GetFotoByNewsId(Int32 id);

    }
}
